package zuoye.test5;

public class Test {
    public static void main(String[] args) {
        bread(new Player("001", "张三", "男", 18, "A"));
        bread(new Coaches("001", "张武", "男", 31));

    }

    public static void bread(Peoplr a ){
        a.eat();
    }
}
